﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class Bill_BookView
    {
        public Int64 ISBN { get; set; }
        public string Title { get; set; }
        public double Price { get; set; }
        public double Discount { get; set; }
        public int Copy { get; set; }

        public Bill_BookView(Bill_Book bill_book)
        {
            ISBN = bill_book.Book.ISBN;
            Title = bill_book.Book.Title;
            Price = bill_book.Book.Price;
            Discount = bill_book.Discount;
            Copy = bill_book.Copy; 
        }
    }
}
